package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/29 16:27
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class EnableBusinessRuleInfoDTO extends BaseDTO {


    private static final long serialVersionUID = -3154470472624230218L;
    @NotNull(message = "id不能为空")
    private Long businessRuleId;

    /**
     * 业务类型 生效时 1  失效时 2
     */
    @NotNull(message = "业务规则类型不能为空")
    private Integer ruleType;

    /**
     * 0 ： 关闭 1：启用
     */
    @NotNull(message = "是否启用不能为空")
    private Integer enable;



}
